// part1:C06:ex6.9:factMain.cpp
#include <iostream>
#include "Chapter6.h"

int main(void){
  using namespace std;
  int num;
  cout << "Enter a integer:\n";
  cin >> num;
  cout << "factorial " << num << " is " << fact(num) << endl;
  return 0;
}
 
